package com.letv.whatslive.model.constant;

import java.util.HashMap;
import java.util.Map;

/**
 * Created by wangjian7 on 2015/7/16.
 */
public class UserConstants {
    //0.普通用户 1.普通认证用户 2.管理员用户 3.企业认证用户 4.主播用户
    public static final Integer role_normal = 0;
    public static final Integer role_identify_normal = 1;
    public static final Integer role_identify_enter = 3;
    public static final Integer role_admin = 2;
    public static final Integer role_live = 4;

    //1:facebook  2:twitter  3:system
    public static final Integer userType_facebook = 1;
    public static final Integer userType_twitter = 2;
    public static final Integer userType_system = 3;
    public static final Integer userType_weibo = 4;
    public static final Integer userType_qq = 5;
    public static final Integer userType_weixin = 6;

    public static final Integer userStatus_offLine = 0;
    public static final Integer userStatus_onLine = 1;

    // DTO数据类型(1: 达人用)
    public static final String USER_DTO_TYPE_TALENT = "1";

    // DTO数据类型(1: 数据同步用)
    public static final String USER_DTO_TYPE_DATA_SYNC = "2";

    // DTO数据类型(3: 获取受邀用户列表)
    public static final String USER_DTO_TYPE_USER_INVITEDUSER = "3";



    public static final Map userTypeMap = new HashMap (){
        {
            put(userType_facebook, "facebook");
            put(userType_twitter, "twitter");
            put(userType_system, "系统");
            put(userType_weibo, "微博");
            put(userType_qq, "QQ");
            put(userType_weixin, "微信");

        }
    };

}
